<include file="Public/header" />
<div class="container clearfix">
    <include file="Public/left" />
    <!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="__MODULE__">首页</a><span class="crumb-step">&gt;</span><span class="crumb-name">栏目管理</span></div>
        </div>
        <div class="search-wrap">
            <div class="search-content">
                <form action="/jscss/admin/design/index" method="post">
                    <table class="search-tab">
                        <tr>
                            <th width="120">选择分类:</th>
                            <td>
                                <select name="search-sort" id="">
                                    <option value="">全部</option>
                                    <option value="19">精品界面</option><option value="20">推荐界面</option>
                                </select>
                            </td>
                            <th width="70">关键字:</th>
                            <td><input class="common-text" placeholder="关键字" name="keywords" value="" id="" type="text"></td>
                            <td><input class="btn btn-primary btn2" name="sub" value="查询" type="submit"></td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>
        <div class="result-wrap">
            <form action="__CONTROLLER__/sort" name="myform" id="myform" method="post">
                <div class="result-title">
                    <div class="result-list">
                        <a href="__CONTROLLER__/add"><i class="icon-font"></i>新增栏目</a>
                        <a id="batchDel" href="#"><i class="icon-font"></i>批量删除</a>
                        <a id="updateOrd" href="javascript:document.myform.submit();"><i class="icon-font"></i>更新排序</a>
                    </div>
                </div>
                <div class="result-content">
                    <table class="result-tab" width="100%">
                        <tr>
                            <th class="tc" width="5%"><input class="allChoose" name="" type="checkbox"></th>
                            <th>排序</th>
                            <th>ID</th>
                            <th>标题</th>
                            <th>操作</th>
                        </tr>
                        <foreach name="cate" item="cate">
                        <tr>
                            <td class="tc"><input name="id[]" value="59" type="checkbox"></td>
                            <td>
                                <input name="id" value="{$cate.id}" type="hidden">
                                <input class="common-input sort-input" name="{$cate.id}" value="{$cate.sort}" type="text">
                            </td>
                            <td>{$cate.id}</td>
                            <td><a href="__CONTROLLER__/edit?id={$cate.id}" >{$cate.catename}</a>
                            </td>
                            <td>
                                <a class="link-update" href="__CONTROLLER__/edit?id={$cate.id}">修改</a>
                                <a class="link-del" onclick="return confirm('你请确定要删除栏目？')" href="__CONTROLLER__/del?id={$cate.id}">删除</a>
                            </td>
                        </tr> 
                        </foreach>          
                    </table>
                    <div class="list-page"> 2 条 1/1 页</div>
                </div>
            </form>
        </div>
    </div>
    <!--/main-->
</div>
</body>
</html>